// 简化Store代码

const getters = {
  roles: state => state.user.roles,
  // 导航栏路由
  sidebarRouters: state => state.permissions.sidebarRouters
}

export default getters
